import React from "react";

function SubList(props) {
  let subList = props.subList;

  return (
    <>
      {subList.map((item) => (
        <div key={item.id} className="item pl-10 pr-10 bg-fff flex jc-sb aic">
          <img
            src={item.imageUrl}
            alt=""
          />
          <div className="t-box fg1 ml-15 f16 pt-5">
            <p className="bold">深圳较场尾大鹏古城8房一厅独栋客栈</p>
            <p className="mt-10">
              <span>¥2688 </span>
              <span className="f888 ml-5">人均:141</span>
            </p>
          </div>
        </div>
      ))}
    </>
  );
}

export default SubList;
